#pragma once
#include<stdio.h>

#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define MineNum  10

void menu();
void game();
void Game_Init(char Game[ROWS][COLS], int rows, int cols, char set);
void DisplayBoard(char Game[ROWS][COLS], int row, int col);
void SetMine(char Game[ROWS][COLS], int row, int col);
void FindMine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);
int GetMineCount(char Game[ROWS][COLS], int x, int y);
void MineFlag(char show[ROWS][COLS], int row, int col);
void SetBlankMine(char mine[ROWS][COLS],char show[ROWS][COLS], int x, int y);